		
		package com.cx.bank.manager;


		
		/**
		 *  定义银行各操作方法的接口
		 * @author dengqin
		 *  @version 2017/6/14
		 */
		 
		 
		public interface Manager {
		
			/**
			 * 封装用户登陆信息
			 */
 
			public  boolean Login(String name,String pass) throws Exception;
			
			
			/**
			 * 封装用户注册信息
			 */
 
			public  boolean Register(String name,String pass) throws Exception;
			
			/**
			 * 用户存款
			 */
			
			public  double  deposit(double money)  throws Exception; 
			
			/**
			 * 用户取款
			 */
			
			public  double withdrawals(double money) throws Exception;
			
			/**
			 * 用户查看余额
			 */
			
			public double inquery()  throws Exception;
			
			/**
			 * 用户转账
			 * @param name
			 * @param money
			 * @param id
			 */
			
			public boolean transfer(String name,int id,double money) throws Exception;
			
			/**
			 * 退出系统
			 */
			public void exit() throws Exception;
		}
